<template>
	<view>
		<zero-loading type="bounce" v-if="loading" :mask="true" :maskOpacity="0.2" :showText="showText"
			:text="text"></zero-loading>
	</view>
</template>

<script>
	export default {
		props: {
			loading: {
				type: Boolean,
				default: false
			},
			showText: {
				type: Boolean,
				default: true
			},
			text: {
				type: String,
				default: '加载中'
			}

		},
		name: "loading",
		data() {
			return {};
		}
	}
</script>

<style lang="scss">

</style>